//
//  NSDictionary+Location.m
//  findFriend
//
//  Created by ju on 14-9-13.
//  Copyright (c) 2014年 dono. All rights reserved.
//

#import "NSDictionary+Location.h"

@implementation NSDictionary (Location)

- (CLLocationCoordinate2D)toCoordinate
{
    CLLocationCoordinate2D coor ;
    coor.latitude = [self[@"lat"] doubleValue];
    coor.longitude = [self[@"lng"] doubleValue];
    return coor;
}

@end
